
using System;

namespace ERP_RORZE_TOOL.Common.ValueObject
{
    [Serializable]
	public class Part
	{
		#region Members
        protected string partNo;
		//protected string partName;
		protected int customerID;
		protected int supplierID;
		protected int upQty;
		protected string partNoPurchase;
		protected string partEnglishName;
        protected string partVietNamName;
		protected int makerID;
		protected int secondSupplierID;
		protected int iQID;
		protected int unitID;
		protected int unitExchange;
		protected int leadTime;
		protected int minQty;
		protected bool rOHS;
		protected int materialID;
		protected int weight;
		protected int partSize;
		protected bool greenEnvi;
		protected bool qtyBasePrice;
		protected bool exportOrImport;
		protected int safeQty;
		protected bool pType;
		protected int partClassID;
		protected string packingNote;
		protected string remark;
		protected int marume;
		protected string oCountry;
		protected string dept;
		#endregion
		#region Public Properties

		/// <summary>
		/// Property relating to database column ID(int,not null)
		/// </summary>
        public string PartNo
		{
			get
			{
                return partNo;
			}
			set
			{
                partNo = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartName(nvarchar(250),not null)
		/// </summary>
        //public string PartVietNamName
        //{
        //    get
        //    {
        //        return partVietNamName;
        //    }
        //    set
        //    {
        //        partVietNamName = value;
        //    }
        //}

		/// <summary>
		/// Property relating to database column CustomerID(int,not null)
		/// </summary>
		public int CustomerID
		{
			get
			{
				return customerID;
			}
			set
			{
				customerID = value;
			}
		}

		/// <summary>
		/// Property relating to database column SupplierID(int,not null)
		/// </summary>
		public int SupplierID
		{
			get
			{
				return supplierID;
			}
			set
			{
				supplierID = value;
			}
		}

		/// <summary>
		/// Property relating to database column UpQty(int,not null)
		/// </summary>
		public int UpQty
		{
			get
			{
				return upQty;
			}
			set
			{
				upQty = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartNoPurchase(nvarchar(250),not null)
		/// </summary>
		public string PartNoPurchase
		{
			get
			{
				return partNoPurchase;
			}
			set
			{
				partNoPurchase = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartEnglishName(nvarchar(250),not null)
		/// </summary>
		public string PartEnglishName
		{
			get
			{
				return partEnglishName;
			}
			set
			{
				partEnglishName = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartVietnameseName(nvarchar(250),not null)
		/// </summary>
        public string PartVietNamName
		{
			get
			{
                return partVietNamName;
			}
			set
			{
                partVietNamName = value;
			}
		}

		/// <summary>
		/// Property relating to database column MakerID(int,not null)
		/// </summary>
		public int MakerID
		{
			get
			{
				return makerID;
			}
			set
			{
				makerID = value;
			}
		}

		/// <summary>
		/// Property relating to database column SecondSupplierID(int,not null)
		/// </summary>
		public int SecondSupplierID
		{
			get
			{
				return secondSupplierID;
			}
			set
			{
				secondSupplierID = value;
			}
		}

		/// <summary>
		/// Property relating to database column IQID(int,not null)
		/// </summary>
		public int IQID
		{
			get
			{
				return iQID;
			}
			set
			{
				iQID = value;
			}
		}

		/// <summary>
		/// Property relating to database column UnitID(int,not null)
		/// </summary>
		public int UnitID
		{
			get
			{
				return unitID;
			}
			set
			{
				unitID = value;
			}
		}

		/// <summary>
		/// Property relating to database column UnitExchange(int,not null)
		/// </summary>
		public int UnitExchange
		{
			get
			{
				return unitExchange;
			}
			set
			{
				unitExchange = value;
			}
		}

		/// <summary>
		/// Property relating to database column LeadTime(int,not null)
		/// </summary>
		public int LeadTime
		{
			get
			{
				return leadTime;
			}
			set
			{
				leadTime = value;
			}
		}

		/// <summary>
		/// Property relating to database column MinQty(int,not null)
		/// </summary>
		public int MinQty
		{
			get
			{
				return minQty;
			}
			set
			{
				minQty = value;
			}
		}

		/// <summary>
		/// Property relating to database column ROHS(bit,not null)
		/// </summary>
		public bool ROHS
		{
			get
			{
				return rOHS;
			}
			set
			{
				rOHS = value;
			}
		}

		/// <summary>
		/// Property relating to database column MaterialID(int,not null)
		/// </summary>
		public int MaterialID
		{
			get
			{
				return materialID;
			}
			set
			{
				materialID = value;
			}
		}

		/// <summary>
		/// Property relating to database column Weight(int,not null)
		/// </summary>
		public int Weight
		{
			get
			{
				return weight;
			}
			set
			{
				weight = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartSize(int,not null)
		/// </summary>
		public int PartSize
		{
			get
			{
				return partSize;
			}
			set
			{
				partSize = value;
			}
		}

		/// <summary>
		/// Property relating to database column GreenEnvi(bit,not null)
		/// </summary>
		public bool GreenEnvi
		{
			get
			{
				return greenEnvi;
			}
			set
			{
				greenEnvi = value;
			}
		}

		/// <summary>
		/// Property relating to database column QtyBasePrice(bit,not null)
		/// </summary>
		public bool QtyBasePrice
		{
			get
			{
				return qtyBasePrice;
			}
			set
			{
				qtyBasePrice = value;
			}
		}

		/// <summary>
		/// Property relating to database column ExportOrImport(bit,not null)
		/// </summary>
		public bool ExportOrImport
		{
			get
			{
				return exportOrImport;
			}
			set
			{
				exportOrImport = value;
			}
		}

		/// <summary>
		/// Property relating to database column SafeQty(int,not null)
		/// </summary>
		public int SafeQty
		{
			get
			{
				return safeQty;
			}
			set
			{
				safeQty = value;
			}
		}

		/// <summary>
		/// Property relating to database column PType(bit,not null)
		/// </summary>
		public bool PType
		{
			get
			{
				return pType;
			}
			set
			{
				pType = value;
			}
		}

		/// <summary>
		/// Property relating to database column PartClassID(int,not null)
		/// </summary>
		public int PartClassID
		{
			get
			{
				return partClassID;
			}
			set
			{
				partClassID = value;
			}
		}

		/// <summary>
		/// Property relating to database column PackingNote(nvarchar(250),not null)
		/// </summary>
		public string PackingNote
		{
			get
			{
				return packingNote;
			}
			set
			{
				packingNote = value;
			}
		}

		/// <summary>
		/// Property relating to database column Remark(nvarchar(250),not null)
		/// </summary>
		public string Remark
		{
			get
			{
				return remark;
			}
			set
			{
				remark = value;
			}
		}

		/// <summary>
		/// Property relating to database column Marume(int,not null)
		/// </summary>
		public int Marume
		{
			get
			{
				return marume;
			}
			set
			{
				marume = value;
			}
		}

		/// <summary>
		/// Property relating to database column OCountry(nvarchar(250),not null)
		/// </summary>
		public string OCountry
		{
			get
			{
				return oCountry;
			}
			set
			{
				oCountry = value;
			}
		}

		/// <summary>
		/// Property relating to database column Dept(nvarchar(250),not null)
		/// </summary>
		public string Dept
		{
			get
			{
				return dept;
			}
			set
			{
				dept = value;
			}
		}
		#endregion
	}
}
